AttributeError: 'int' object has no attribute 'split' for pandas